package com.opennews.openplatform.familyexpenseapi.dto.join.account.group.request

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.NotEmpty

@JsonIgnoreProperties(ignoreUnknown = true)
class SendJoinAccountGroupRequestDto {
    @field:NotBlank(message = "receiverId can't be blank")
    lateinit var receiverId: String

    @field:NotEmpty(message = "roles can't be blank")
    lateinit var roles: List<String>
}